<?php


class Cms_Model_Placeholder extends WSB_Db_Row
{

	public function init()
	{
		$this->_formConfigPath = WSB_MODULES_PATH . 'cms/forms/placeholder.config';
	}

	/**
	 * @var string
	 */
	public function getTitle()
	{
	   return $this->name;
	}

	/**
	 * @return mixed
	 */
	public function save()
	{
    	if(isset($this->not_editable) && !is_numeric($this->not_editable)) {
   			$this->not_editable = 0;
    	}
    	return parent::save();
	}

}